package com.newsmanagement.enums;

/**
 * 养殖产业批次状态枚举类
 */
public enum FarmBatchStatusEnum {
    NOT_PUBLISHED(0, "待发布"),
    PUBLISHED(1, "已发布"),
    SOLD_OUT( 2, "已下架");
    private final int value;
    private final String desc;
    FarmBatchStatusEnum(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }
    public int getValue() {
        return value;
    }
    public String getDesc() {
        return desc;
    }


}
